package com.cuit.zuke.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cuit.zuke.common.vo.QuarterlyDataVo;
import com.cuit.zuke.order.model.entity.GoodsOrder;
import com.cuit.zuke.order.model.entity.GoodsOrderDetail;
import com.cuit.zuke.order.model.vo.GoodsOrderQueryVO;
import com.cuit.zuke.order.model.vo.GoodsOrderVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;


public interface GoodsOrderService extends IService<GoodsOrder> {

    Page<GoodsOrderVO> listOrder(Integer current, Integer limit, GoodsOrderQueryVO goodsOrderQueryVO);

    boolean deleteById(String order_id);

    boolean handleOrder(GoodsOrderVO goodsOrderVO);


    GoodsOrder generateOrder(String uid);

    GoodsOrderDetail generateOrderDetail(String orderId, Long goodsId);

    List<GoodsOrderVO> findByUid(String uid);

    GoodsOrderVO paySuccess(String orderId);


}
